<div class="container">
  <h1 style="font-size: medium;text-align: center;">采集信息</h1>
  <form >
    <div class="form-group">
      <label for="name">采集时间</label>
      <input type="text" [value]="sitedata.time" (input)="sitedata.time=$event.target.value"  id="time" name="time">
    </div>
    <div class="form-group">
      <label for="alexa">经度</label>
      <input type="text"  ([value])="sitedata.x_loc||''"  (input)="sitedata.x_loc=$event.target.value" id="x_loc" name="x_loc">
    </div>
    <div class="form-group">
      <label for="alexa">纬度</label>
      <input type="text"  [value]="sitedata.y_loc||''"   (input)="sitedata.y_loc=$event.target.value" id="y_loc" name="y_loc">
    </div>
    <div class="form-group">
      <label for="name">属性名</label>
      <input type="text" [value]="sitedata.name"   (input)="sitedata.name=$event.target.value"  id="name" name="name">
    </div>
    <div class="form-group">
      <label for="alexa">属性值</label>
      <input type="text" [value]="sitedata.value"   (input)="sitedata.value=$event.target.value"  id="value" name="value">
    </div>
    <div class="block center">
      <input type="button" (click)="submit()" value="提交">
      <input type="reset" value="重置">
    </div>
  </form>
</div>
